package com.autonavi.yunda.yunji.core.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author sunzhenbang
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "yunji_operation_record", autoResultMap = true)
public class OperationRecordDTO {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("operator_id")
    private String operatorId;
    @TableField("operator_name")
    private String operatorName;
    private String type;
    @TableField("sub_type")
    private String subType;
    @TableField("related_id")
    private String relatedId;
    @TableField("create_time")
    private Timestamp createTime;
    @TableField("update_time")
    private Timestamp updateTime;
    @TableField("trace_id")
    private String traceId;
    private Long bdId;
}
